package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_user_label;

import cn.com.api.mapper.ApiU_user_labelMapper;

import cn.com.api.service.ApiU_user_labelService;

/**
 * 
 **/
@Service
public class U_user_labelServiceImplBase {
	@Autowired
	private ApiU_user_labelMapper apiU_user_labelMapper;
    
    // 根据id获取
	public ApiU_user_label findU_user_labelById(Integer id){
		ApiU_user_label u_user_label = apiU_user_labelMapper.findU_user_labelById( id );
		return u_user_label;
	}
    
    //查看数据集
	public List<ApiU_user_label> findU_user_labels(){
        List<ApiU_user_label> u_user_labels = apiU_user_labelMapper.findU_user_labels();
		return u_user_labels;
    }
    
	// 添加
	public int insertU_user_label(ApiU_user_label u_user_label){
		int ret_I= apiU_user_labelMapper.insertU_user_label(u_user_label);
		return ret_I;
	}

	// 修改
	public int updateU_user_label(ApiU_user_label u_user_label){
		int ret_I= apiU_user_labelMapper.updateU_user_label(u_user_label);
		return ret_I;
	}
	
    // 删除
	public int deleteU_user_label(Integer id){
		int ret_I= apiU_user_labelMapper.deleteU_user_label( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


